@import url('common.css');

/****************** 历史订单列表部分 ******************/
.order-list-title {
  padding: 16px;
  font-size: 16px;
  font-weight: 300;
  color: var(--md-sys-color-on-surface-variant);
}

.order-list {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  background-color: var(--md-sys-color-surface);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.order-header h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
}

.order-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-status .price {
  font-size: 16px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
}

.pay-button {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}

.order-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--md-sys-color-on-surface-variant);
}
